WooCommerce\Square\Sync\Manual_Synchronization D

Total Complexity 209
Dependencies 18
Dependents 1
Total lines 1,657
Lines of code 962
Logical lines of code 596
Comment lines 242
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
square_sor_sync()
D
24
40 166
upsert_catalog_objects()
D
25
30 160
search_matched_products()
C
31 25 115
refresh_category_mappings()
B
37 17 78
pull_inventory()
B
36 15 85
push_inventory()
A
44 13 44
upsert_categories()
A
42 10 52
update_matched_products()
A
45 9 40
query_unmapped_categories()
A
46 8 38
assign_next_steps()
S
49 6 36
upsert_new_products()
S
47 5 37
mark_failed_products()
S
52 6 22
push_product_image()
S
54 6 20
update_limits()
S
60 4 13
get_shared_category_ids()
S
61 4 12
convert_to_catalog_object()
S
66 4 7
validate_products()
S
58 2 15
extract_category_ids()
S
72 1 5
get_max_objects_to_retrieve()
S
74 1 4
get_max_objects_per_batch()
S
71 1 5
get_max_objects_per_upsert()
S
74 1 4
get_max_objects_total()
S
74 1 4